autoconf: correctly parse *_INCLUDES and *_LIB env vars
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 29 Jun 2012 14:31:57 +0000 (15:31 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Fri, 29 Jun 2012 14:31:57 +0000 (15:31 +0100)
commitcc6ba55e078df848b5fccc366f19388549f128c5
treebb37f5b9d9bdacedf834126f5b35571ec40cbd52
parent65f28015b498ab0e58e3f2d381f761a774d691fc
autoconf: correctly parse *_INCLUDES and *_LIB env vars

Parse those options correctly, since the "+=" operator is not valid.
Also added CPPFLAGS, so headers checks don't give strange results.

Please rerun configure after applying.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Cc: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/m4/set_cflags_ldflags.m4